package site.duanzy.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import site.duanzy.dto.BnsUser;
import site.duanzy.dto.BnsUserExample;

public interface BnsUserMapper {
    int countByExample(BnsUserExample example);

    int deleteByExample(BnsUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BnsUser record);

    int insertSelective(BnsUser record);

    List<BnsUser> selectByExample(BnsUserExample example);

    BnsUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BnsUser record, @Param("example") BnsUserExample example);

    int updateByExample(@Param("record") BnsUser record, @Param("example") BnsUserExample example);

    int updateByPrimaryKeySelective(BnsUser record);

    int updateByPrimaryKey(BnsUser record);
}